home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: chang.unx.sas.com!walker
- From: walker@chang.unx.sas.com (Doug Walker)
- Subject: Re: Bought my SAS compiler yesterday
- Sender: news@unx.sas.com (Noter of Newsworthy Events)
- Message-ID: <Dnqw70.C68@unx.sas.com>
- Date: Mon, 4 Mar 1996 13:30:36 GMT
- X-Nntp-Posting-Host: chang.unx.sas.com
- References: <68771787@0humpty.tomate.tng.oche.de>
- Organization: SAS Institute Inc.
-
- In article <68771787@0humpty.tomate.tng.oche.de>,
- Andreas Mixich <humpty@TOMATE.TNG.OCHE.DE> wrote:
- > ╖ I will soon get a CD-ROM with the official OS3.1 includes from AT (on a
- > german Amiga Mag's CD). Now I have noticed, that during the update
- > processes, some standard includes were also processed. Shall I never
- > replace my SAS/C includes ? (Besides that, there is a slightly newer
- > release on some Fish CD-ROM)
-
- It's perfectly OK to replace your system include files. There should not
- be any problems, and if there are you can always reinstall the old ones
- from the floppies.
-
- You should be able to just copy the new files over the old ones in the
- SC:INCLUDE directory.
-
- > ╖ Is there an option to setup/define the size of the scsmsg error browser?
- > I have it automatically start when starting my editor's C setup. The
- > windowsizes are not ideal for me. Also I am missing an option to make
- > the close button only hide, not exit the browser utility.
-
- There is no option to change the size of SCMSG. You can tell it to hide
- without exiting from AREXX, but not from the UI.
-
- > ╖ After compiling a very simple example from the K&R
- > (Fahrenheit2Celsius.c) and compiling it such as descriped in the
- > according chapters for the debugger in the docs I wanted to try out the
- > debugging. I shift clicked the Debug along with the Exe and got a Red
- > Alert. This also happens with "Hello World.c" and all other programs I
- > have tried. The debugger opens a CON, opens its screen, a window on it,
- > which says: "<No source>" and the machine crashes. But - the source _is_
- > in current directory, I also copyied the stdio.h (to go sure) to this
- > dir. No way, I get bad crashes. I was never able to run the debugger :-(
- > I do not use any MWB icons with ╗╗╗ Icon by Martin etc. ½½½½ in it.
- > I launched from the original SAS icon.
-
- First, make sure you click on the Debug icon FIRST, then hold down the SHIFT
- key and double-click on the program.
-
- Second, try running the program by itself and see if it works. If it doesn't,
- you are probably crashing in the startup code before main(); this probably
- indicates an error in the way the program is linked, or possibly an
- autoinitializer or constructor error. Use CPR -S from the command line to
- debug the startup code.
-
- Third, try running CPR from the command line on the program.
-
- > If there should be interest, I will send a full report of my
- > system-setup to one of the programmers. Please reply here or e-mail me,
- > thanks.
-
- If you need to do this, include
-
- *) The source code of the program
-
- *) The SCOPTS file
-
- *) Any command-line options used, or a detailed list of steps to
- reproduce the problem from WorkBench.
-
- >Some other thing would be of interest for me: I can not get the examples of
- >the K&R (2nd edition) be compiled. I get an error 73, but if I leave out
- >the stdio_protos or the stio.h this produces an error as well. How can I
- >avoid this ? I did not find a solution in the manual. The program I am
- >talking about is on the beginning of the book, when it comes to putchar()
- >(the simple copy examples).
-
- You do not want to include stdio_protos.h if you also include stdio.h.
- Just include stdio.h. Use the SC LINK command to link instead of SLINK,
- and don't add amiga.lib or any sc*.lib to the command line or to the
- SCOPTS file.
-
- --
- ***** / walker@unx.sas.com
- *|_o_o|\\ Doug Walker< BIX, Portal: djwalker
- *|. o.| || \ AOL: weissblau
- | o |//
- ======
- Any opinions expressed are mine, not those of SAS Institute, Inc.
-
-